package com.lxk.wx.robot.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 短信配置类
 *
 * @author Feng
 */
@Configuration
@EnableScheduling
@ConditionalOnProperty(value = "wx.webhook.enabled", havingValue = "true")
@ComponentScan(basePackages = "com.lxk.wx.robot")
public class WebHookAutoConfiguration {

//    @Bean
//    public BotTaskService botTaskService(BotService botService) {
//        return (BotTaskService) botService;
//    }
//
//    @Bean
//    public BotService botService() {
//        return new BotServiceImpl();
//    }
//
//    @Bean
//    public MessageSendTask MessageSendTask(BotTaskService botTaskService,
//                                           WechatBotConfig wechatBotConfig,
//                                           BotService botService) {
//        return new MessageSendTask(botTaskService, botService, wechatBotConfig);
//    }







}
